﻿using System;

namespace Finance.Data.Entities
{
	public interface IRepayDebtDocument : IDocumentBase
	{
		Guid DebtDocumentId { get; set; }
		decimal DebtAmount { get; set; }
		decimal RateAmount { get; set; }
	}

	internal class RepayDebtDocument : DocumentBase, IRepayDebtDocument
	{
		public RepayDebtDocument(DataBaseObjectCollection parentCollection,
			IContractors contractors) : base(parentCollection, contractors) { }

		public Guid DebtDocumentId { get; set; }
		public decimal DebtAmount { get; set; }
		public decimal RateAmount { get; set; }
	}
}
